package com.css.cloudlearn.consumerconsul.controller.fegin;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;


@FeignClient(name = "productor-consul", fallback = FeignCallBack.class)
public interface ProductorFegin {
    //    @LoadBalanced
    @GetMapping(value = "/productor/ping")
    public String ping();
}
